cleanup debug-code
cleanup debug-code; add config switch for production server
add production config; cleanup configs
remove static status var
move leveldb dir
debug logs depends an env var