Removed some dependencies between queries.py and services.py. Optimization of API.
Version update.