Added preference for stream format, misc changes including removing import of all external modules(use Plex equivalent instead)