Add explicit license GPLv3
Reformat code