improve starting of the server

- fix issues in the config to start with gulp
- make sure the end message of server loading is shown only
when all necessary parts of the server are loaded