Code to render poly cube is extracted to separate module.