Extracting energy from black holes: 'Long' and 'short' GRBs and their astrophysical settings