First topology
Implemented the main method for the topology. It takes into account Remote and Local clusters