Adds Copying protocol
Fixes query that returns all databases