Add rsync-module and modify config and main modules.