Added terminal gui and backend