added license (MIT) and docs