Theoretical Generalizations Of Topological Phases And Topological Entanglement Entropy