Secure, Distributed Financial Exchanges: Design and Implementation