Unit test to read packets from serial! and we pass (now)!

also cleaned up db.py interface.
update docs