Created appgui files. Moved base gui functions to base namespace.
Renamed demo folder to viewers.