Switch everything to rails

This has to do with #14.  This will move everything over to rails.