Divided commands into separate classes, and added heightCommand.