Design complete and refactoring started

Completed my first detailed design of the core processing class layout
and started refactoring the code in general and redesigning the GUI.