Moved all helper code references and setup to service_processor file to be used in rufus