moved terminal to its own library