move some stuff around
implementing bib2html