private static void Initialize() { _linksReader = new LinksReader(); _messageWriter = new ConsoleMessageWriter(); _feedManager = new FeedManager(_linksReader, _messageWriter); _commands = new Dictionary <string, Action>(); _commands.Add("remove", () => _feedManager.RemoveFeeds()); _commands.Add("pull", () => _feedManager.SaveFeeds()); _commands.Add("list", new Action(List)); _commands.Add("help", new Action(Help)); }