Added move method in entity and used it in entityhandler