move types in separate file (more convenient for type checking dsl.clj and cql.clj later on)