Scrutinizer and cleanups

tidying up
Only for managing the jobs.

It's a general problem we have with the way the public api is done, with only interfaces in `\OCP` there is no way to have an api where the app is supposed to extend a class (see also storage backends)