Add temporary main function
Add some missing sources
Reconfigure for arm-none-eabi-gcc
Fix exitshell()