- fixed config to use singleton
- removed now unneeded getConfig method from server