Added FormWidget class and implemented function showConfigForm