Created simple connection to mongodb