 import Account
 import Articles
 
-class MasterTimelineViewController: UITableViewController {
+class MasterTimelineViewController: UITableViewController, UndoableCommandRunner {
+
+	var undoableCommands = [UndoableCommand]()
 
 	private var showAvatars = false
 	private var rowHeightWithFeedName: CGFloat = 0.0

			NSLocalizedString("Unstar", comment: "Unstar") :
			NSLocalizedString("Star", comment: "Star")
		
		let starAction = UIContextualAction(style: .normal, title: starTitle) { (action, view, completionHandler) in
			markArticles(Set([article]), statusKey: .starred, flag: !article.status.starred)
			completionHandler(true)
		}
		


	}
	
	override func viewDidAppear(_ animated: Bool) {
		super.viewDidAppear(animated)
		becomeFirstResponder()
	}
	
	override func viewWillDisappear(_ animated: Bool) {
		super.viewWillDisappear(animated)
		resignFirstResponder()
	}

	override func prepare(for segue: UIStoryboardSegue, sender: Any?) {
		if segue.identifier == "showDetail" {
			if let indexPath = tableView.indexPathForSelectedRow {
