[#47] Refactored BainTerminal