Added processor.hs, not yet finished.