Try to strip all the CIVX requirements out.

It runs now! It still doesn't work, though.
Move template to file

TW2 doesn't seem to like embedded templates?