server setup and examples