added router for api
added mongodb driver