fixed bugs, defined ETProcessor class