Spectral and temporal studies of accretion and ejection processes around supermassive black holes