moved validation interface to an own file
implemented setData in mapper
implemented mapper getData