implemented logger method
terminal can execute given commands
exceptions on missing arguments