refactored settings management. Added customizable search radius parameter