504

correct 102 db json
added db controller for getting segval