restructure app to allow for more examples.