Added reference paths, some internal documentation