Updates to base entity

Added getters for xpos and ypos, encapsulated Entity.java, changed other
stuff that used entity.xpos/entity.ypos. Not sure if anything compiles
anymore n_n