added support for "show xxx" and "use <db name>"

I had the constructor there so I could store the connection object in `conn`, which is used later. I've modified the code slightly to return a object literal instead.