Added initial server.Config function
Added sample config.json
Fixed json parser to work on io streams