Added mongodb module and some minor stuff, beginning to implement db