Added MIT license to project root and added header to source files.