Files copied from BitBucket repository

(with some additional trimming/cleaning)