Timer implemented

I've got the basiscs of the timer working, though I need a few more
calls for it.