change and new func

changed class name, scope and some methods; add getters, visual and
compare;