coding loader in groovy