do database stuff using yaml