added species persistence and corrected database handles