Implement timer module with unit test

I wasn't sure if it was compatible with the existing utils.bind.