Add Terminal model and scaffolding.