database model separated db info