Add thin and yaml_db for db