start abstract inference implementation

Signed-off-by: Andrey Rybalchenko <rybal@microsoft.com>