Refactor: rename Cube to createCube, added documentation