added list of available commands, command parsing