Update the timer

Moved the timer into the app folder and added the timer to WinMain.