Rename InfoXMLReader getInfo to parseInfo

it basically reparses the file and not just returns a cached version
Throw Exception, at the moment the error isn't checked for anyway
Use switch/case, better structure