control: moved library loading to separate class and free node data on unload