Update compiler API and add license files