Move document builder to static fields

No need for multiple instances of these to be created and clog up
memory.

Signed-off-by: Tristen Allen <spyboticsguy@gmail.com>