Added Usage section to readme

refactored options map
refactored error handling