Moved TableView layout into a separate model to lighten the ActivityViewController.