Moved generic proclist subroutines into template format