Atmega168 bootloader

There are lots of books out there for free download.

For printed books - Tom Igoe Book - Making Things Talk is good or for basic's there is the Getting Started With Arduino book.