moved data model classes into own helper class