Moving funcs to class. Improved unreleased release-candidates

Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>