Implementation of counters

Implementation EEPROM functions
-read
-set
Updated counter-related classes

- Replaced array duplication in Counters (.h/.cpp) by a simple pointer
of pointer (array of Counter* is allocated in main.cpp and used as a
reference in Counters)
- Added a "reset" method in Counters and Counter, allowing to reset
counter values to 0
- Simplified counter incrementation code in main.cpp
- Replaced 'by counters" frame and reset counter access in main.cpp by
direct counter variable access
- Adding phase and timephase counters to EEPROM

Separation of the main in different parts which symbolize the phases
- creation function basicloop
- creation of different functions of phases'loop