Restructure build tasks

Using seperate configuration helps organizing the process, while lazy loading the modules improves the start.