added basic AI for zombies; reworked scheduler