rna-transcription: Replace class-based by functional solution

See #79 for a discussion.