Refractored WatchigServer and made start() throw IOException