Base library for the Pi