update base class name
upgrade models, remove jsonfields, add REST serializers thanks to djangorestframework