0.6.0: rtrc refactoring and tests