Database phase 1 done.
Device redesign.
Debugger for Devicese - rundevice.py