static public function createFrontend($options = []) {
		$options = self::normalizeOptions($options);
		
		if (isset($options[self::PARAM_LIFETIME])) {
			$lifetime = (int) $options[self::PARAM_LIFETIME];
			unset($options[self::PARAM_LIFETIME]);
		}
		
		$frontend = new Wrapper(self::createBackend($options));
		
		if (isset($lifetime)) {
			$frontend->setDefaultLifetime($lifetime);
		}
		
		return $frontend;
	}