Started work on fancy bom formatting in html and pdf