Added Atmega328p device defines
A lot of changes pt 1
A lot of changes pt 2