Propper working Ajax Request

TODO :
~Organise Methods into Tools.cs and index where nessissary
~Properly move items with (linq query)/(other peoples code).