added JavaDoc for DSL classes, started support for Scopes and References
in classic API