added a serialize class DB