v0.7

Code cleanup, and updated for compatibility with the new hardware.