Implemented functions for declaring and deleting exchanges