add settings function
add LICENSE file