Moved business logic for initializing the data model out of the method
which attaches it to the GUI tree so that visual changes can be made
without altering the underlying model and vice-versa.