* Introduce memory manager interface * Add memory stats to JSON reporter and a test * Add comments and switch json output test to int