Register class mapper with unity