first stab at a figure and table reference manager for use with knitr and rmarkdown