Got basic AJAX functions in place for app. Also added a close button for the app