added sensor queue component
Made api server multithreaded to reduce delay