Updating to new folder structure

Added model files where they need to be, generated the autogen where it
should be, put the ruby unit tests where they should be