Refactored and added examples directory.
Fixed from py3 incompatibilities.
Bumping version number to 0.2.1
Merge pull request #7 from halfak/master

Refactoring, + examples and fixed py3 bug