Reworked JSON model and added some UI for performance groups.
Tidying up
fixed an error