improve design and function of radicale plugin