Refactored to pyremix. Added some examples