extracted template engine
renamed streammerger