Getting the app to compile and work