Remove Rails Dependency 

This depends on #6, and should either be rebased on top of it before merge or #6 should be closed and this merged in its place.  This also supercedes #5, which can be closed if this is merged.