Initial code, pcb layout and enclosure