add riot support
port tests to riot
port example to riot