application: Introduce data model struct and view structs.