Add namespace for debug messages
Set default port to 8080
Tidy up, add `sparkOnline` event
Add debug statements
Tidy up server