Reorganized program structure (mainly actors and AI)