Integrable systems connected with black holes