[FEATURE] Modularize and attach processes to main.