     import ageofai.home.event.HomeEvent;
     import ageofai.home.vo.HomeVO;
     import ageofai.villager.vo.VillagerVO;
+    import flash.utils.Dictionary;
 
     import caurina.transitions.Tweener;
 

                        var home:HomeVO = this._homes[ i ];

                        var creationTimer:Timer = new Timer( CHome.VILLAGER_CREATION_TIME / CHome.VILLAGER_CREATION_TIMELY, CHome.VILLAGER_CREATION_TIMELY );
                        creationTimer.addEventListener( TimerEvent.TIMER, function ():void
                        {
                            var homeEvent:HomeEvent = new HomeEvent( HomeEvent.VILLAGER_CREATION_IN_PROGRESS );
                            homeEvent.progressPercentage = creationTimer.currentCount * CHome.VILLAGER_CREATION_TIMELY;
                            homeEvent.homeVO = home;

                            dispatch( homeEvent );
                        } );

                        Tweener.addTween( this, {
                            time: 2,

        private var _homes:Vector.<HomeVO>;
        private var _homeAI:HomeAI;

        private var _progressDic:Dictionary = new Dictionary(true);
        
        public function HomeModel()
        {
            this._homeAI = new HomeAI();
