Remove unused code
Access static methods in a static way
Use constants for all session attributes
Merge branch 'master' into api-cleanup
Merge pull request #107 from yissachar/api-cleanup

Api cleanup