Cleanup trailing whitespaces and add GPL license to remaining source files
Add missing reference