Add script for the merge build.

closes #10
Move read-write utilities from examples/movies to store.util.