rename db to config, add port conf