Updated the XML configuration implementation. Updated capability system (might not work completely yet).