return constructor

Return a constructor to enable multiple database connections.
Also added setAuth, which allows changing auth on the fly.