Added basic code structure to display questions

The design uses an object oriented approach that should be more
maintainable than a set of event callbacks.