Refactored the examples a bit
Updated the readme and added a minimal example