Added cube class for cube creation and rendering