Moved some code out, and removed some legacy functionis
Moved some code out, and removed some legacy functionis


paleobiodb/pbdb-new,paleobiodb/pbdb-new,paleobiodb/pbdb-new,paleobiodb/pbdb-new,paleobiodb/pbdb-new