Move template generator into tools directory.