adding class to push and query stuff to couch and class to push log entries