Support plugin folders

Should fix #229- have tested add/remove/get and uploaded updated XML file.