Structuring the application