My New Arduino Idea / Design

as far as editing them they are standard c and h files open with a editor

as far as what is in them how they work etc that depends on your understanding of how avr's are actually programed and your knowledge of avrgcc

grab datasheets and start learning how to program avr's without the arduino candy coat in front