Rearranged and added source code for AVR151.