Interface added + api for arduino