basic server and view setup