added services.py and config.py

added config.py and services.py