Changed database model and access method to serial style