Added Licences to top of files. Also created CryptBucketType class.