Added MIT license, gave credit to previous authors