Split EntityInserter into EntityInserter and EntityTable

Change-Id: I148abc923abbaeafdb340c176f99958f88ebb4ff