Moved spawning logic to spawner, implemented spawner cooldown