This is a port of the Client.pm file from Froller (https://code.google.com/p/linux-frn-client/ )to use GPIO