added a game timer and made server games multithreaded