Basic framework. Added option for parsing multiple commands, git-style.