Initial modelling of the db