refactor reward class names
change the type of task, because the previous deprecated
refactor reward package classes architecture: simplify it and reduce complexity