Move type TTY to own file
Remove unused constant