Breaking down the paths method into smaller ones.

Pure codeclimate gold platting.