public static Controller getController(ControllerType type) {
        switch (type) {

            case TREE_CONTROLLER:
                break;
            case DOOR_CONTROLLER:
                return new DoorController();
            case ENTRANCE_CONTROLLER:
                return new EntranceController();
        }
        return null;
    }