Created 'Timer' class