Moved the core functionality to static methods in the ModelMapper class.
Added trimmed property names for values.