Merge pull request #1 from BenMQ/nan-recovery

Parse likes and time spent as integer to prevent NaN
Refactor
Refactor into storage module
Refactor into timer module
Merge remote-tracking branch 'upstream/master' into inspect-post