Importing the source code of the KMag 4.12.3.
Updating the license to be compatible with KMag license.