is this needed for all apps that will include this library? Could it be generated dynamically? at least the protocol and domain thought