Building the foundation for autoconfiguration.

Signed-off-by: Frank Mertens <frank@cyblogic.de>