add folder security
add example database config file