More graceful shutdown improvements:

- Add the request controller to its own subsystem
- Add the ability to queue tasks
- Some code cleanup
This is just an example comment for as an example for GitHub support 1)