actually moved player input responsability to input-events
remove ClientEntity class from script.js and use prototypal inheritance instead