Added a method to ask for alive objects
Improved the subentities mangement
Added a flag to set the artificial inteligence control