added ticket controller and model