updated readme. updated example. controller api doc. controller tests.