Move topology creation to fencing_primitives class

Signed-off-by: Bogdan Dobrelya <bogdando@mail.ru>