Fixes #96 #109

a quick stab at porting over rails migration generators.

still need to port over the specs.