add gitignore
update README.md
remove spec
refactor into individual files