Terminal sessions

I just moved the existing one, btw this pr is not ready yet. I didn't assign it, when it's ready I'll assign it to you ;)