Split out functionality to load partial views from dir