changed loader behaviour...

... to allow autoloading libraries before including the controller

note: sorry about the commit bloat, that happened when I cleaned my repo from some PDFs still in the history, will automerge.