Added GPLv3
Refactoring
added some styles
A little cleaner this way