Implement timer module with unit test

license header