Terminal-based application framework