basic skeleton of application with complete flow of data