postgresql setup
models made