created package "terminal" and moved interface Terminal + implementation
of Terminal into this package