Move path initialization to separate module

This shortens up the main initialization module slightly and separates
out some of the noise.