Adds a global namespace function to allow namespaces for classes and functions

* started a Primitives.Cube class
Extracts cube properties to its own class, allowing different sizes
Merge pull request #4 from justahero/extract-cube-to-primitives

Extract cube to primitives