Moved engine and core to backup folder for later implementation.
Updated game model to encapsulate all state in state variable and all
input in input variable.
Added shared code to shared.js. TODO: Remove and refactor old code to
fit with this. TODO: Do not 'steal' RingBuffer from nodejs module but
actually host the real thing.
Updated RingBuffer to fit our needs
Fixed RingBuffer peek to peekFirst bug
Moved update method to shared code. TODO: Support multiple inputs on
server. TODO: Find way to import libraries neatly