Add modes commands to commands package.
Add some text editing commands to the commands package.