Modularity (WIP - Do not merge)

This PR introduces mixins in a really simple format. Creates some functional mixins and applies those to refine and refactor view, with full backwards compatibility.

Opening this PR for discussion.

/cc @sinan @szkl @gokmen @fatihacet