add the license and fix symbols for include files