Moved history to a separate file