merged connect_to_galaxy and ror-backend