move classes under processor, create errors module