added timer to server state and modularizing vote counting
voting into module