example code updated to ci 2 standard
Merge pull request #1 from lavluda/master

updated the example controller to CI 2.0 standard