Update the merge main class.
Update application usage. Add license merge method ahead.