moved models to top level
moved
connect to mongodb