Adding branch comparisson to find topic branches and some refactoring