refactored dsl package

moved most classes from dsl package to new one called "queries"
created basic class hierachy for queries