Refactoring
Delete .hgignore
updated example
updated readme
bugfix in readme
removed .gitignore

The lines in .gitignore should be in the global gitignore since it's not files specific to this project.
Merge pull request #1 from LinusU/patch-1

Total rewrite