add setting files
add production and test code