console parsing and command execution