Adding mongodb connection and winston logging