Clientside views

Finally implemented this, currently testing on my machine... After this is merged charts are only a small step away.