Added getClassDir() API method, changed config file parsing to not require a top level key used as the type.