Added support for external config mapping

ConfigurationMapper class is refactored to have generic constraints, so
its methods wouldn't have to repeat them.