change setup of db config
Update router class
add header comment