Adding second rendition of app. Will merge other code in soon.