Created Api for facility Models using rest_framework