add localstorage lib file
add config