Added session

Started on the session class. Also the very beginnings of inputscheme.