support to generate source from multiple files.
add support to multiple data store.
test the changed part.
Merge pull request #6 from cn/python-history-data

Python: add support to query history data.