Move munge and slurm specific tasks to different files