Added fixes for the PR
Added the license on the header of each file