Add loader and partials