initial work on removing hardcoded staging repositories. Still several tasks to do and some tests are failing in this state