Initial commit of reducer as a package
Add .gitignore

Closes #6 Closes #1