Add a controller init that presets self attributes