move terminal class to gal console