New App, Config and Form classes

and some fix too