added ai movement of objects, needs some reworking though