Started modularization of master. Logical queries are only meaningful in master, that will map to a physical infrastructure (to many possible) and submit only a description to the workers, then in charge of instantiating the actual stuff