Initial implementation of device proxy. Also add beginning of device simulator + doc.