Refactored Configuration manager to be able to use it in multiple projects