A Ninjablocks driver to create state devices