Added reference-parsing and -validation file.