Major design improvements to view engine.

Minor braking change to view locator and view engine. Most likely, no
one was using these apis yet.