Adds class to interface with Pi