major refactoring to support multiple files on process start
lic header added