Able to run server example

Added license, logging, keyboard interrupt handler