Made application runnable
Added timer glue stub
Refactored timer
refactored test
Timer glue is now working correctly