refined the GPIO defs
1) Added support for heartbeat signal
2) Extended the stubs for open and close for basic operations.
3) Added helper methods for buzzer and light control