adds namespace to model, view