- 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