create LocaldbState model and initial view; initialise on (delay) load