Beta of some code refactoring in the slave
Merge branch 'master' of https://github.com/charliehorse55/esb
Reworked slave.c