pulling constants into a common file
building structs around the map[string]interface{} that events and queries have