Restructed and using an adapter to the citeproc