add code, update readme and gitignore