Update version & added GPL3 license & reformat code
Reformat code