added new settings files
Created state.js in stream-server