added anvil stuff to merlin and reduced the code for enchanting books