Added documentation to all files, with copyright