Added image functionality to citations
Moved around things, with vendor code in vendor folder