Replace wxWigets with a custom UI framework
Reorganise VS project