Added correct licensing

Added licensing to the head of all files.