change licenses to GPL3 and some cosmetic