new approach with trigger.java

Making the item split in the triggeri.java