Initial commit of pi-side stuff