applied license headers
added support for custom header mapper