func CreateController(storage Storage, defFile string) (Controller, error) {
	if defFile != "" {
		if err := loadDefinitions(storage, defFile); err != nil {
			return nil, err
		}
	}
	return &registryController{
		storage: storage,
	}, nil
}
CreateController creates an instance of the Controller interface, given
a storage implementation and a registry definition file.
package server
import (
	"encoding/json"
	"errors"
	"io/ioutil"
	model "github.com/kubernetes-incubator/service-catalog/pkg/brokerapi"
)
type Controller interface {
	ListServices() ([]*model.Service, error)
	GetService(serviceID string) (*model.Service, error)
	CreateService(s *model.Service) error
	DeleteService(serviceID string) error
}
type registryController struct {
	storage Storage
}