Started building up the application model and api