Created the database models and the data carrier objects. Need to merge them to a single class.