setup and start of server