Added mainclass to gradle configuration