First commit fleshed out basic functions for app.