<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def vlcpanel_factory(filepath, volume=None):
 """Returns a VLCPanel class Parameters filepath: String \tFile path of video volume: Float, optional \tSound volume """


    vlc_panel_cls = VLCPanel
    VLCPanel.filepath = filepath
    if volume is not None:
        VLCPanel.volume = volume

    return vlc_panel_cls