Implemented API call to delete application and menu

@Karthikeyan-V use isEmpty method for validation