Fix for legacy php versions
New settings management
agregado de configuracion
fix grafico
change the way it generates the json configuration