Changes ot the API and added the provider object ot each layer
Cleaner up some code and removed the genericAsync thing
More removing / cleaning old code
Changes for the plotting service download
Was meant to have commited this file a while ago
Add the correct metadata path