build and serve