i05t05: Database manager (Lionfish) enhancement

The code has been cleaned up. Some functionalities
of the Lionfish server have been fixed.