Added new setup files, kidnapped state can now be read from xml
Added function which merges duplicates modes