Update for route management, added nicejson php lib