added base for console interface using lanterna