LICENSE updated to GPLv3. Added definitions in each source file