Refactor to make configs its own parent module