implemented parser for nJava syntax with object-oriented design