CARE #25: Finished query creation form; Added controller and service methods for query creation