Add main.php and update LexicalAnalyzer.class.php