Remove terminal functionality to separate repo