add HasCount cmd mapping
add server config and start reading db files