First revision of the migration to the new hardware

Adapting the arduino-library to the atmega128.