Added cube class