netlog: add device init & destroy
WIP netlog: first version of writing logs (should be optimized)
netlog: fixing device-related code
Re-implement destroy_whitelist
Init/destroy device on init/exit