Add tutorial

Waffle #421

- Add application code
- Add comprehensive tutorial