added license and changed readme to a md file.