Feature/server#2

adds connection to mongodb