add example to readme
fixed url typo
fixed namespace bug and thrown exception bug