refactoring of netdev cookbook
refactoring of stdlib