[minor] move processors to lib