Generation of full SMF of several lines.

Configuration still spread out on several files, needs fix...