Added the application model and basic controller