- integrated rest api for real time noise event in main.js