Construct application model when application is started