added a helper class, ExpressionAdapter which makes it easier to write new expression classes inside the Java DSL with a minimal amount of coding