Made the server always exit on key press, even if run as main
Added host/port to the config
Publishing to Sonatype