Fixed animation timings
Refactored server
Added keyboard hooks to client, now sends key state to server