Refactor internal UG vs PG Models, controllers and views

Just posting for visibility.

This pull splits out the model logic in to UG and PG models plus attempts to get views and controllers setup to allow viewing and editing of both data types.

Currently there is still a lot of non-working functionalty