Chaged license to MIT license and added headers to all files.