With config

This adds an initializer and moves the controller code into the generator.

Also, we are now testing for errors and validations and make sure that the errors can be shown on the form.