Refactor util.observer and engine.input
Refactoring alarm class
Refactoring input interfaces completed