changed the binding model to use emitter and made inventory work more