added scanner code
added license and readme
updated gitignore