add proper license file and comments