add callback generation

Signed-off-by: Yakov Goldberg <yakov.g@samsung.com>