Added main method to run antlr's TestRig
integrating javadoc