Inherent structures, configurational entropy and slow glassy dynamics