web.config files can be easily extended using the configSection tags.
A brief overview is given by Aaron Johnson on his blog, referring the original MSDN documentation.
Also another brief summary by Dieder Tierman and a very good How-to on MSDN how to write own section handlers.