adding ability to add static xml files and adding fontTable

A lot of crap got included in this commit that I couldn't be bothered to
sift through so stuff may look funny for a while