Refactor of the Control API and view mixin

See 9fd08a9 commit for details.