Move app info.xml reading code to new class