Add parser main method
Now load correctly extern definition. Correct some parser's errors. Jump comments.