added api helper module, minor viewset improvements