added model class

added model class but not using it yet