 
 class ViewController: NSViewController {
 
+    lazy var dbManager: AdaptedDbManager = AdaptedDbManager()
+
     override func viewDidLoad() {
         super.viewDidLoad()
 
-        // Do any additional setup after loading the view.
+        let stringMessages = dbManager.get()
+        for msg in stringMessages {
+            addStringAsMessage(msg)
+        }
     }
 
     @IBOutlet weak var messageBoard: NSStackView!

        v.hidden = false
        messageBoard.hidden = false
        messageBoard.addView(v, inGravity: NSStackViewGravity.Center)

        // TODO: use DB module to add new message.
    }

    @IBOutlet weak var removeAllMessages: NSButton!


        // TODO: use DB module to remove messages.
    }
}

class MyView: NSView {
