finished query building and deployment lifecycle at master. implementing comm utils