Added batch_set to entity
Added arduino example and docopt as dependency
Controller updates and tests