Added a mainpage and app to run it.