Created a generic multithreaded program main.
Created a generic multithreaded editorProgram pattern