major refactoring
add ability to push stdin
Update README.md
Merge pull request #4 from r-darwish/master

Various patches