TopologyAnalysis now static

TopologyAnalysis is now completely static returning the whole generated
array instead of conrete ID;