Added render namespace and cube function