created db schema and models