Merge pull request #165 from vergenzt/referenced-projects

Initialize references before initializing a project