public static function &initInstance(EntityAuthData $platform)
	{
		if(NULL === self::$_instance)
		{
			self::$_instance = new Sonic();
		}
		
		self::$_instance->platformAuthData = $platform;
		
		self::$logger = new Logger('sonic');
		self::$logger->pushHandler(new StreamHandler(Configuration::getLogfile()));
		
		self::$_instance->setContext(Sonic::CONTEXT_PLATFORM); // needs to be explicitly set to "user"
		
		return self::$_instance;
	}