Some restructuring for the modules (allow for load ordering) & added paths module.