More cleanup
Moved some functions and types not related to responders into their own files.