Use pillar data for build, artifact, and source dirs

Also added a ton of comments