Added session controller and support functions
Merge branch 'release/0.0.5'