add class Model

Model class containing data structures