moved mongodb config to config file. Added inventory script