Move logic from view to model

Further changes might use the presenter pattern, but for now it is good
to have all the spotlightify logic in one place.