Intelligent scheduling and modular manufacturing