-The asserts are done but there is still the problem of when removing
the last interface of a router

-refactored the package membership

Signed-off-by: Alexandre-Silva <aalexandre.grande@hotmail.com>