Topological Phases and Phase Transitions in Clean and Disordered Systems