Convert Table to interface so that we can have InMemory implementations.

Makes it easier to test anyway.
want to change this logging also while you are here