Starting to break out some code into a separate Cube-class