Add viewer class and app.cgf file
Implement simple viewer