Adding the licence header to files and creating the COPYING file