made model api prefer view namespace over model name so multiple apis for one model can be distinctly accessed