Implemented the Move class