added a base ExtrasEndPoint class which includes all data which needs to be provided to /api and also allows us to serialise a json string to the datatype. Also added the programmatic parsing of the /api do decide what api endpoints should be displayed in the GUI - this needs to be linked back to the json config.