fixed loading names from txts

Added txts for enemys, players and npcs. Also put generating the names
in a method.