Buffer class, dictionaries for sensors and values - work in progress