add model, controller and sample app