refactor to rails engine, update db config
update all models
delete old models
Merge pull request #3 from uclibs/enginize

refactor to rails engine, update db config