initial commit of alarm code in consoleif