Renamed main function to SphereBucket from Bucket, removed some unused code.