Fix controller logic
Controller logic bug fix. Now all methods point to read_raw().
Merges with master
Add controller logic, change json structure.
Merges with updated master
A tiny bit of debugging