Flask Rest-full server for iOccupancy project