updated the example controller to CI 2.0 standard