Massive cleanup and organization of processes by function