implemented a Move class