Finished templating main, CharacterMatcher, Factor