Update README and add code file