closde issue 8 by adding historical data retriever.