added background job processing and scheduling