Level configuration

Moved levels configuration form code to xml file.