fixed derp irt cartesian coords
moved entity handling to a client/server interface