Persistent connection

Added persistent connection do fDatabase class.