added license header to all code files