refactored SchemeParser.java