added namespaces to model, controller and scaffolding