pyrox to proxy refactor