Added some comments
Fixed session repo. Not tested yet.
Fixed some issues in test and other projects.