Split methods up to make writing tests easier
Split methods up to make writing tests easier

beni55/dockersh,mehulsbhatt/dockersh,pugna0/dockersh,CS497-F15/dockersh,chenrui2014/dockersh,CS497-F15/dockersh,mehulsbhatt/dockersh,Yelp/dockersh,pugna0/dockersh,chenrui2014/dockersh,Yelp/dockersh,beni55/dockersh