WIP
Remove Duplicated Selector Set
Remove duplicate code in the file manager
Reduce method complexity for initialize
Refactor headers to reduce duplicate code.
Remove duplicate code
Reduce complexity of shell function
Reduce complexity of send_message