Moved commands to separate files.

Switched all commands to /.
Added replacenear