added gpl licence header to all files