Migrated drawing code from Cube to CubeManager