finish up with the app so that it is using REST API and all functionality is there