Changed the visibilty of some functions to private.

Added new functions to create an episodes index.