add javadoc + start testing device api