Updates to allow you to create a server outside of AppDelegate