Implemented module loading and routing