Wired up the basic functionlity of the app