Expose router and config