Extract interfaces out of routing table classes using abc module

fix