move file processing from HBRecording into HBScheduler
other various abstraction fixes and cleanup