added app.data and some initial map logic(not working)