refactor Recorder configuration, close #758
Merge pull request #969 from pdalpra/recorder-typesafe

Refactor Recorder configuration, close #758