Inital main() and build code for avr board