Basic server with mongodb