Split up master-terminal mock-up into several files.