added rendering entities from the server. Add world to screen space transformation for entities.

Still need to optimize.