refactor: tightened up examples/* and lib/project.js