Read applications from magus database instead of xml file.