Adds versions and selected version to model.
Tweaks to view.