removing config as member and converting to a singleton, adding tests that demonstrate template configuration