Moved embedded code into firmware directory