add properties for WorkProcessor
add constructor for WorkProcessor