move fido to 3rdparty. add license text.