Basic implementation of edges (references and citations)
Fixes some file permissions