Created sensor rest framework