Extracting a transaction context

This guy tracks what write operations will be used for the commit essentially.
Refactored the recovery mechanism registration