read names from .txt

The names for the player, enemys and npcs can now be read from a
txtfile.
Also added public fields to the created private fields.