changed modules to lazy getters
removed TTY (was not referenced anywhere and the API has changed)