Changed some simple loops to forEach() calls
Added handler in the GameEngine to allow mouse events