Modularized and seperated job code from main interaction code