Move mongo common parts to a common package
Add file reader utils
Refactor config. Move datasources out. Make managers non-singleton