Pass downcased classes and instances to the client

We'll need to be able to match them with subs and filters.
Make loadActiveSubs only load public ones

May as well make SQL do the filter. Also change the name.