Multiple little improvements.

* Added checksum checking for file upload
* Fixed activity status
* refactored FilePersistor
* Fixed wrong timestamp in mic.sec