updated readme and changed @usage to @example