Create DbPersistable module with read and write method for db