Implementation of the commands "move over", "pile onto" and "pile over" and refactoring.