autchCheckLocal made static
some constants moved to config file
definitions reordered
private functions in reader module made static
extracted some condititons as functions
pressed/released and open/close variables names changed
hardware related things moved to another module
added led pin definition
datagrams processing code extracted to function
extracted some constants