Working version of app. Still needs counter capabilities and stats.