Modify architecture and add new functions

"new" menu

redesign architecture of firmware(Inner & Outer)