Activiti

Introduce query API for deployments and resources