set up serializers to convert model instances to JSON
added views