Added initial firmware stuff. This is an attempt to include bitlash from the beginning to have scripting functionality, but I'm not sure if it works out. The code is probably a bit messy; will be cleaned up later.