add correct tyoemap to public copy constructor
removed unused typedef in interface file