moved db init and models to sane places
Merge pull request #8 from iisjade/master

updated db - moved init and models to sane places