Moved endlog and snapshots into separate files. Closes #11.