implement command parsing. help command, etc.