arbmath module work

Signed-off-by: Victor Shcherbinin <victorshch@gmail.com>