Initial commit of replay library.