Move common config resources to seperate class so master and slurmdbd can be managed on same host