Renaming variable to firstRecording
Removing underscore from public functions
Moving sensor logic into its own class
Moving alarm logic into its own class