initial working draft

Continue when interface to main process is better understood