Add Cube class