Initial (testless) metrics API
PEP8
Adding tests for sessions
Fix tests for metric API
PEP8
Remove TODO
Remove useless assert
Merge branch 'feature/issue-5-add-metrics' into develop