Uploading new microcontroller code

Switching to mbed instead of arduino for faster processing power. Note
that the mbed controller code is still very primitive and is still
under development.