add config folder and move some partials to modules