Cube and Grid classes created