Major refactoring

Added GUI project (WinForms + OpenGL) and did major refactoring.