Creates DB table from yaml file, and generate expected dict from yaml file.