Fix memory leak using the  pause animation.
Refactor cube constants (eg. dimensions) into own header file.
Refactored build system
Enhance build for debug and release targets.