+added new command - InitPopulation
-improved creation of entity code