Added Cube class