Implemented API call to delete application and menu

@Karthikeyan-V  remove unused code