move configuration handling into equ.erl