Basic controller with model