Minor cleanup. Also, now, global modules are placed at the front of the returned array from the Controller.getPaths method. This way, global modules load first