update client to delayed input handling

moved helper to a class instead of global.
added commands class.
added every method to animationLoop.
added execute method to tanks.