adding db functions to grunt