Add complex motions panel
Create build motions tab
Add save motion category into database feature
Refactor code
Complete feature create complex motions
Refactor code