add config
add log
refactor config
refactor log
refactor log and config
add router