Replaces all ajax.py files with Django Rest viewset methods