version 0.4.0

* Fixes to connecting to remote databases (#33)