Commit parser

ah great! I knew there was a better way to do this.