Converted business-logic files to be self-contained, with a generic 'loader' in the main app file instead.