Moved plugin download to a dedicated class for cleaner code