move Planarity and Isomorphism to Classification
Improved planarity and isomorphism checking
remove imports