fixed issue with invalid parameters error
migrating commands from SingleParams to UnixLikeParams command parameter class
added a new command for switching between topic cursors
updated method signatures
simplified the implementation
relocated method