Added constructor to position class.
Updated entity and all its subclasses to use the position class instead of x & y parameters.