moved direction to maze package