add copy and move constructor to processor