chore(api): remove server contructor from public API