Wrapped workflow in functions. Created wait_for_adb()