Fix: Code quality

Improved the code quality of the generator itself and the scaffolded application as well.