db file and fleshing out models