Fixed example and readme to reflect how the library actually works