Moved AddObserverCommand to its own file within the commands package.