Move functions into warcmanager.py. Code cleanup.
Moved WarcReplay to a submodule.