Add some shutdown clean up and add sharepoint gridview