Broke everything into seperate classes. Prepared the cube class for mesh generation.