Adding model_session - good example to follow for object oriented programming