shifted text replace functions into DocX class
Table replacements work
image replacement works
Text replacement works
added logging to arbitrary file