modularized process creation in main routine of process manager