reafactor infrastructure