generated controllers messages and main