Implementing plugin views

Rough implementation, needs some code cleanup, works for now