Initial code add of the main form.