Prepare pathResolver