Created Move and State classes.