Code base

SessionRecordsHandler methods now insert and update sessions by activity
type! Wohoo! :-)

NB: Might want to refactor time formatting code into a separate class
for robustness, readability and reuse.