Added vlc logic and moved to plugin system. Also config files.