moving editing commands into their own file