Arcyd: refactor, split fetch and connect

Test Plan: $ ./precommit.sh
WIP: repoconfig