Create groovy.class

functional library in groovy