add some logging
Better way of running the server