initial functionality

Signed-off-by: Alexej Yaroshevich <alex@qfox.ru>