some refactoring, using config.ini instead of config.py and use stores.__imit__ to dynamically decide which stores to use