This is an example of one possible way of structuring a Spark application
The application has filters, controllers, views, authentication, localization, error handling, and more. It contains the source code for the tutorial found at https://sparktutorials.github.io/2016/06/10/spark-basic-structure.html
If you find anything you disagree with, please feel free to create an issue.