contract Ownable {
    address public owner;
    address public DAO; // DAO contract

    function Ownable() public {
        owner = msg.sender;
    }

    modifier onlyOwner() {
        require(msg.sender == owner);
        _;
    }

    function transferOwnership(address _owner) public onlyMasters {
        owner = _owner;
    }

    function setDAO(address newDAO) public onlyMasters {
        DAO = newDAO;
    }

    modifier onlyMasters() {
        require(msg.sender == owner || msg.sender == DAO);
        _;
    }
}
function Ownable() public {
    owner = msg.sender;
}

// DAO contract