added some web api helper classes