add main function which starts jetty