added model classes
added adpater class