A very interesting theory of storytelling is the Dramatica theory of story. http://storymind.com/dramatica/
I believe the movie Contact (any many others) were written with the Dramatica template.
This area was how I was introduced to the site (I was investigating Robert Mckee because of seeing the movie "Synecdoche New York"): http://www.dramatica.com/theory/articles/index.htm