initial settings storing in mongo, client subscription implemented