RF: refactoring the rigid streamline registration class