Updated Entity

Added a Direction object to the Entity class.