Adding basic GPIO functionality