Private variables' names changes and other optimizations

The last changes I’ve been doing had a unique purpose of being
compliant with the arduino instructions on how to build a library