Project dirs relativity

Resolve some of the issues for #81.