moved mongo connection to database package
organize models
added postgres database