first version of mesh protocol control. still under development.