Clean up
Rearrange contents as an Arduino library