Working model of Master-Detail view controller app.