Create class structure for database model.