add group function buttons and create group func

1. add group function buttons
2. add create group logic