refs #10371. Move services to kernel.

This needs to be checked on all other OS. I doubt this works yet on windows or linux properly.