Adds cubes example and reads materials example.