create a basic db model