Adding updates I had to make to use this with the latest versions of cesium. Also added a Clock type.