host, port and db now configurable, connect now returns collectionsInfo