changed .gitignore to include the packages directory
separated decoder logic from scan page
removed commented code
added first trial alarm