Added option to display mob faction as nametag

Also:
- reorganized the config file
- made some variables static