refactored exising code, added basic VLC Player functionality