updated collision mechanism
added IDs to all GameObjects