Removed example usage from the code file and moved it to the README.md.