Refactored the controller loading and wrote the book chapter about it