Pulled in bucket utility library.
Fixed some concurrency issues.
added bucket