new version of ERDB
first version of fill_db (no meshes and pics)