Library Management  app using groovy