Added licenses

Added MIT license header to all files.