updated app to make it run

Made basic changes to make the app run.