Make server entrypoint more generic.
Rename server entrypoint.