first import
added small Raspberry Pi platform wrapper
defined constants
added callbacks
implemented control register read/write