Added jsonwerapper to reemplace json_decode, added saveFile method to replace file_put_contents. Fixed bug changing foreach by for. Extrange problems on hosting server...