Preliminary AlarmManager working
Made code more readable (added helper methods)