db and models done