implemented job mechanism. fixed bugs on removing sensors/readings