Made the createSphere and createTube function into classes that inherit from the THREE.Mesh object.