Added configuration support using System.Configuration classes. Does not work currently.