Adding copyright notices and docblocks
Fixing docblocks