Initial code and readme

Signed-off-by: Pavel Emelyanov <xemul@parallels.com>