adding database models to design