StartServer

Made classes to start and publish he server as well as some minor
changes to the code
Revert "StartServer"

This reverts commit 21676517ecfab45f5aa1edf34ad3ab25df9967c5.
Revert "Revert "StartServer""

This reverts commit bdf49424698b6e17d6f853c8be1b7e9c0d661f31.