Rewrite of the PEAS Interactive Object module