minnor fixes
Now each resource uses its own views