Added an Ajax class to handle all ajax request by datatables etc