Closer to a workable approach for actually generating a runnable server loaded from the library