all of the needed variable now enclosed so that we can connect to more than one backend, bumped to 0.6.1