ud_native: basic template for native extension

Signed-off-by: Alex Dubov <oakad@yahoo.com>