Added Module header to Main

Documented main function

added type signatures to the various module key constants

Refactored main to call exitFailure if photoboothMain returns Nothing