 import Foundation
 
 public enum NGDMError: ErrorType {
+    case ManifestMissing
+    case AppDataMissing
+    case CPEStyleMissing
     case MainExperienceMissing
     case InMovieExperienceMissing
     case OutOfMovieExperienceMissing
-    case AppDataMissing
-    case StyleMissing
 }
 
 public struct Namespaces {

    }
    
    public func loadCPEStyleXMLFile(filePath: String) throws {
        guard let rootObj = NGECPEStyleSetType.NGECPEStyleSetTypeFromFile(filePath) else {
            throw NGDMError.StyleMissing
        }
        
        var themes = [String: NGDMTheme]()
        

        - Returns: The full AppData object mapping
    */
    public func loadAppDataXMLFile(filePath: String) throws -> [String: NGDMAppData] {
        guard let appData = NGEManifestAppDataSetType.NGEManifestAppDataSetTypeFromFile(filePath) else { throw NGDMError.AppDataMissing }
        
        var imageIds = [String]()
        var allAppData = [String: NGDMAppData]()
        for obj in appData.ManifestAppDataList {
            let appData = NGDMAppData(manifestObject: obj)
            allAppData[appData.id] = appData
            
