Fixes some typos in readme

Adds var declarations for example and removes `app` namespace