Primitive objects

Spheres and cones will come in a subsequent pull request as they are a bit complicated.