runtime config improvements

reading config from working directory root (instead of ./config)
renamed main config file to gateway.json
made logging debug on/off set from system property