implemented a single view app