creating sitemodel file that interacts with the db