added some documentation to the exchange class