* Changed WebAPIServer to singleton

* Added port number switching