Vlc plugin refactoring